package com.example.application.bean;

import java.io.Serializable;

/**
 * 服务类
 */
public class Service implements Serializable {
    //服务id
    private Integer id;
    //名称
    private String name;
    //种类
    private String type;
    //排期
    private String schedule;
    //适用规格
    private String applicable;
    //服务规格
    private String serviceSpec;
    //耗时
    private String spendTime;
    //服务员等级
    private String clerkLevel;
    //价格
    private double price;
    //门店
    private Store store;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSchedule() {
        return schedule;
    }

    public void setSchedule(String schedule) {
        this.schedule = schedule;
    }

    public String getApplicable() {
        return applicable;
    }

    public void setApplicable(String applicable) {
        this.applicable = applicable;
    }

    public String getServiceSpec() {
        return serviceSpec;
    }

    public void setServiceSpec(String serviceSpec) {
        this.serviceSpec = serviceSpec;
    }

    public String getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(String spendTime) {
        this.spendTime = spendTime;
    }

    public String getClerkLevel() {
        return clerkLevel;
    }

    public void setClerkLevel(String clerkLevel) {
        this.clerkLevel = clerkLevel;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Store getStore() {
        return store;
    }

    public void setStore(Store store) {
        this.store = store;
    }

    @Override
    public String toString() {
        return "Service{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", schedule='" + schedule + '\'' +
                ", applicable='" + applicable + '\'' +
                ", serviceSpec='" + serviceSpec + '\'' +
                ", spendTime='" + spendTime + '\'' +
                ", clerkLevel='" + clerkLevel + '\'' +
                ", price=" + price +
                ", store=" + store +
                '}';
    }
}
